home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’97
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Lists
/
ListNode.cp
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-06-28
|
278 b
|
23 lines
|
[
TEXT/CWIE
]
// ListNode.cp
#ifndef ListNode_h
#include "ListNode.h"
#endif
#ifndef List_h
#include "List.h"
#endif
ListNode::ListNode()
: next( 0 ),
previous( 0 ),
owner( 0 )
{
}
ListNode::~ListNode()
{
if ( owner != 0 )
owner->Remove( *this );
Assert( owner == 0 );
}